package fr.univ.lr.icone.unit;

import static org.junit.Assert.*;

import org.junit.Test;

import fr.univ.lr.icone.agents.Agent;

public class UnitAgent {

	/* Tests Constructeurs *************************************** */

	@Test
	public void testAgentInt() {
	}

	@Test
	public void testAgentIntIntIntIntIntIntInt() {
	}

	/* Tests Get ************************************************* */

	@Test
	public void testGetX() throws Exception {
		Agent a = new Agent(0, 1, 2, 3, 4, 5, 6);
		assertEquals(3, a.getX());
	}

	@Test
	public void testGetY() throws Exception {
		Agent a = new Agent(0, 1, 2, 3, 4, 5, 6);
		assertEquals(4, a.getY());
	}

	@Test
	public void testGetOpinion() throws Exception {
		Agent a = new Agent(0, 1, 2, 3, 4, 5, 6);
		assertEquals(1, a.getOpinion());
	}

	@Test
	public void testGetConfiance() throws Exception {
		Agent a = new Agent(0, 1, 2, 3, 4, 5, 6);
		assertEquals(2, a.getConfiance());
	}

	@Test
	public void testGetId() throws Exception {
		Agent a = new Agent(0, 1, 2, 3, 4, 5, 6);
		assertEquals(0, a.getId());
	}

	@Test
	public void testGetStep() throws Exception {
		Agent a = new Agent(0, 1, 2, 3, 4, 5, 6);
		assertEquals(5, a.getStep());
	}

	@Test
	public void testGetClock() throws Exception {
		Agent a = new Agent(0, 1, 2, 3, 4, 5, 6);
		assertEquals(6, a.getStep());
	}

	@Test
	public void testGetClockmax() {
	}

	/* Tests Set ************************************************* */

	@Test
	public void testSetX() throws Exception {
		Agent a = new Agent(0, 1, 2, 3, 4, 5, 6);
		a.setX(8);
		assertEquals(8, a.getX());
	}

	@Test
	public void testSetY() throws Exception {
		Agent a = new Agent(0, 1, 2, 3, 4, 5, 6);
		a.setY(9);
		assertEquals(9, a.getY());
	}

	@Test
	public void testSetOpinion() throws Exception {
		Agent a = new Agent(0, 1, 2, 3, 4, 5, 6);
		a.setOpinion(6);
		assertEquals(6, a.getOpinion());
	}

	@Test
	public void testSetConfiance() throws Exception {
		Agent a = new Agent(0, 1, 2, 3, 4, 5, 6);
		a.setConfiance(7);
		assertEquals(7, a.getConfiance());
	}

	@Test
	public void testSetClockmax() {
	}

	@Test
	public void testTic() {
	}

	@Test
	public void testToString() {
	}

}
